package com.songcan.oauth.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.songcan.model.oauth.SysRoleMenu;
import com.songcan.oauth.mapper.SysRoleMenuMapper;
import com.songcan.oauth.service.SysRoleMenuService;
import com.songcan.oauth.vo.Jurisdiction;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 角色菜单表 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2020-04-29
 */
@Service
public class SysRoleMenuServiceImpl extends ServiceImpl<SysRoleMenuMapper, SysRoleMenu> implements SysRoleMenuService {


    @Override
    public List<Jurisdiction> selectByRoleMenu(Long roleId) {
        return baseMapper.selectByRoleMenu(roleId);
    }
}
